﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UpdatePasswordControl.ascx.cs" Inherits="UpdatePasswordControl" %>
<table border="0" cellpadding="2" cellspacing="0" style="width: 100%" class="Verdana8Black">
    <tr>
        <td style="width: 110px">
        </td>
        <td>
            <asp:Label ID="ResultLabel" runat="server" Font-Bold="True"></asp:Label></td>
    </tr>
    <tr>
        <td style="width: 110px; height: 17px">
            Tên đăng nhập:</td>
        <td style="height: 17px">
            <asp:Label ID="lblUID" runat="server" Font-Bold="True"></asp:Label></td>
    </tr>
    <tr>
        <td style="width: 110px;">
            Mật khẩu cũ:</td>
        <td>
            <asp:TextBox ID="txtOldPwd" runat="server" CssClass="txt" TextMode="Password"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtOldPwd"
                ErrorMessage="(*)" ValidationGroup="UpdatePassword"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td style="width: 110px">
            Mật khẩu mới:</td>
        <td>
            <asp:TextBox ID="txtNewPwd" runat="server" CssClass="txt" TextMode="Password"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtNewPwd"
                ErrorMessage="(*)" ValidationGroup="UpdatePassword"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td style="width: 110px">
            Nhập lại:</td>
        <td>
            <asp:TextBox ID="txtConfirmPwd" runat="server" CssClass="txt" TextMode="Password"></asp:TextBox>
            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtConfirmPwd"
                ControlToValidate="txtNewPwd" ErrorMessage="CompareValidator" ValidationGroup="UpdatePassword">Mật khẩu mới không khớp</asp:CompareValidator></td>
    </tr>
    <tr>
        <td style="width: 110px; height: 28px;">
        </td>
        <td style="height: 28px">
            <asp:Button ID="btnChange" runat="server" CssClass="QuickButton" Text="Thay đổi" OnClick="btnChange_Click" ValidationGroup="UpdatePassword" /></td>
    </tr>
</table>
